/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csse3004.GD;

import java.util.ArrayList;

/**
 *
 * @author Tom McNair - S41758984
 */
public class SRAnswer {

    private int id;
    private String keyword;
    private int qid;

    public SRAnswer() {
    }

    public SRAnswer(int id, String keyword) {
        this.id = id;
        this.keyword = keyword;
    }

    public int getQid() {
        return qid;
    }

    public void setQid(int qid) {
        this.qid = qid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return keyword;
    }

    public void setText(String keyword) {
        this.keyword = keyword;
    }

    public SRAnswer genTest(int qid) {
        return new SRAnswer(1, "Question" + qid + "Answer");
    }
}
